SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 62723: PROC LIFETEST reports incorrect survival results when the TIMELIST= includes zero and there is an event at time zero

DetailsAboutRate It

If you include zero in the TIMELIST= option in PROC LIFETEST and an event occurs at time zero, the first row in the Product-Limit Survival Estimates table is incorrect. The results indicate that the survival function estimate is 1 and the number of failures is 0.

Here is an example using fictitious data that demonstrates the problem:

data test;
  input Days Event;
  datalines;
0 1
5 1
9 1
16 0
20 1
20 1
22 0
25 1
;
proc lifetest data=test timelist=0 5 10 15 20 25;
  time days*event(0);
run;
The Product-Limit Survival Estimates table is:
 
Table 1
 
The correct survival estimate at 0 days for this example is 0.8750. This can be obtained, as well as correct values for the number of failures, standard error, number failed and number left, by omitting the TIMELIST= option.
 
Table 2


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/STATz/OS14.315.19.4 TS1M59.4 TS1M6
z/OS 64-bit14.315.19.4 TS1M59.4 TS1M6
Microsoft® Windows® for x6414.315.19.4 TS1M59.4 TS1M6
Microsoft Windows 8 Enterprise 32-bit14.315.19.4 TS1M59.4 TS1M6
Microsoft Windows 8 Enterprise x6414.315.19.4 TS1M59.4 TS1M6
Microsoft Windows 8 Pro 32-bit14.315.19.4 TS1M59.4 TS1M6
Microsoft Windows 8 Pro x6414.315.19.4 TS1M59.4 TS1M6
Microsoft Windows 8.1 Enterprise 32-bit14.315.19.4 TS1M59.4 TS1M6
Microsoft Windows 8.1 Enterprise x6414.315.19.4 TS1M59.4 TS1M6
Microsoft Windows 8.1 Pro 32-bit14.315.19.4 TS1M59.4 TS1M6
Microsoft Windows 8.1 Pro x6414.315.19.4 TS1M59.4 TS1M6
Microsoft Windows 1014.315.19.4 TS1M59.4 TS1M6
Microsoft Windows Server 200814.39.4 TS1M5
Microsoft Windows Server 2008 R214.39.4 TS1M5
Microsoft Windows Server 2008 for x6414.39.4 TS1M5
Microsoft Windows Server 2012 Datacenter14.315.19.4 TS1M59.4 TS1M6
Microsoft Windows Server 2012 R2 Datacenter14.315.19.4 TS1M59.4 TS1M6
Microsoft Windows Server 2012 R2 Std14.315.19.4 TS1M59.4 TS1M6
Microsoft Windows Server 2012 Std14.315.19.4 TS1M59.4 TS1M6
Microsoft Windows Server 201614.315.19.4 TS1M59.4 TS1M6
Windows 7 Enterprise 32 bit14.315.19.4 TS1M59.4 TS1M6
Windows 7 Enterprise x6414.315.19.4 TS1M59.4 TS1M6
Windows 7 Home Premium 32 bit14.315.19.4 TS1M59.4 TS1M6
Windows 7 Home Premium x6414.315.19.4 TS1M59.4 TS1M6
Windows 7 Professional 32 bit14.315.19.4 TS1M59.4 TS1M6
Windows 7 Professional x6414.315.19.4 TS1M59.4 TS1M6
Windows 7 Ultimate 32 bit14.315.19.4 TS1M59.4 TS1M6
Windows 7 Ultimate x6414.315.19.4 TS1M59.4 TS1M6
64-bit Enabled AIX14.315.19.4 TS1M59.4 TS1M6
64-bit Enabled Solaris14.315.19.4 TS1M59.4 TS1M6
HP-UX IPF14.315.19.4 TS1M59.4 TS1M6
Linux for x6414.315.19.4 TS1M59.4 TS1M6
Solaris for x6414.315.19.4 TS1M59.4 TS1M6
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.